Replace Palette
Match image to a palette then remap it to another palette.
Node Data | |
---|---|
FilterArray | |
Display name | |
Replace Palette | |
Internal name | |
Node_Color_replace | |
Inheritances | |
node | |
node_processor | |
node_color_replace | |
Inputs | |
node_color_replace | |
surface |
Surface In |
palette |
Palette From |
palette |
Palette To |
float |
Threshold |
bool |
Set Others To Black |
bool |
Multiply Alpha |
bool |
Hard Replace |
surface |
Mask |
float |
Mix |
bool |
Active |
toggle |
Channel |
enum |
Mode |
seed |
Self |
Outputs | |
node_color_replace | |
surface |
Surface Out |
Replace palette match every color in the surface with the Palette From and replace it with the color on the same index in the Palette To.
Properties
Surface In
The input surface
Palette From
The palette to match the color with
Palette To
The palette to convert to
Threshold
How much the color can differ from the palette to be match.
Multiply Alpha
Whether to multiply the alpha channel to the color before matching.
Set Others To Black
Whether to set the colors that aren't matched with any color in the palette to black.
Hard Replace
Whether to replace the color with the closest color in the Palette To or to blend base color with the target color based on similarity.